\setuppapersize[A7,landscape]

\definehead[mychapter][chapter][page=no]
\definelist[mylist][alternative=a,color=blue,headnumber=always,]

\definecombinedlist[Mycontent]
\setupcombinedlist[Mycontent] [alternative=c,list={section,mylist}]
%% 去掉了mychapter
\setupheadtext[Mycontent={TABLE of CONTENTS}]

\setuphead[subject][align=middle]

\starttext

\startmychapter[title=Foo Chapter1]
  \subject[title=chapter index]
  \placeMycontent[criterium=chapter]

  \startsection[title={Beta}]  First Section
  \stopsection
  \writetolist[mylist]{NO.1}{ manual defined mylist ---1}
  \startsection[title={Alpha}] Second Section
  \stopsection
\stopmychapter

\startmychapter[title=Foo Chapter2]
  \subject[title=chapter index]
  \placeMycontent[criterium=chapter]

  \startsection[title={Beta}]  First Section
  \stopsection
  \writetolist[mylist]{NO.1}{ manual defined mylist ---1}
  \startsection[title={Alpha}] Second Section
  \stopsection
\stopmychapter

\title[title=TOC]
\placeMycontent[criterium=all]

\page

\completeMycontent[criterium=all,alternative=b]

\stoptext
